<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">

    </style>
    <script type="text/javascript">
//        window.onload=function(){
//            setTimeout(function(){
////               var t=document.getElementById("test");
////               t.contentWindow.location.href ="http://www.baidu.com";
//                var qstring = self.location.href;
//                console.log(qstring);
//            },2000)
//        }

    </script>
</head>
<body>
<iframe  id="test" width="1200px" height="500px" name="iframe_view">


</iframe>
<a href="http://www.baidu.com" target="iframe_view">click</a>
</body>
</html>